package cn.e4j.modular.crm.entity;

import cn.e4j.core.typewrap.PO;
import com.baomidou.mybatisplus.annotation.*;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yuan_rz
 * @since 2019-01-11
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("GWBM_T")
public class GwbmT extends PO<GwbmT> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "GWBMENT", type = IdType.INPUT)
    private String GWBMENT;
    private String GWBM001;
    private BigDecimal GWBM002;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBM003;
    private String GWBM004;
    private String GWBM005;
    private String GWBM006;
    private String GWBM007;
    private String GWBM008;
    private String GWBM009;
    private String GWBMACTI;
    @TableField(fill = FieldFill.INSERT)
    private String GWBMUSER;
    @TableField(fill = FieldFill.INSERT)
    private String GWBMGRUP;
    @TableField(fill = FieldFill.UPDATE)
    private String GWBMMODU;
    @TableField(fill = FieldFill.INSERT)
    private String GWBMTIME;
    @TableField(fill = FieldFill.INSERT)
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private LocalDate GWBMDATE;
    @TableField(fill = FieldFill.INSERT)
    private String GWBMORIG;
    @TableField(fill = FieldFill.INSERT)
    private String GWBMORIU;


    @Override
    protected Serializable pkVal() {
        return this.GWBMENT;
    }

}
